#include"../include/DictProducer.hpp"
using namespace wd;
void testEn(){
    DictProducer dictEn("../conf/yuliao/");
    dictEn.doIndexes("../data/dictIndex.dat");
}

void testCn(){
    SplitTool split;
    DictProducer dictCn("../conf/yuliao/art/",&split);
    dictCn.doIndexes("../data/dictIndex.dat");
}
void testStopWords(){
    DictProducer dic("../conf/yuliao/");
    dic.showStopWords();
}

void testCE(){
    DictProducer dictEn("../conf/yuliao/");
    dictEn.doIndexes("../data/dictIndex.dat");
    SplitTool split;
    DictProducer dictCn("../conf/yuliao/art/",&split);
    dictCn.doIndexes("../data/dictIndex.dat");
}

int main(){
    testCE();
    return 0;
}
